{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	IF("{LOGGEDIN}"=="0"){<a href="signup.php">{LANG_JOIN}</a><br><a href="login.php">{LANG_LOGIN}</a><br>{:IF}
	IF("{LOGGEDIN}"=="1"){<a href="logout.php">{LANG_LOGOUT}</a><br>{:IF}
      <a href="add_story.php">{LANG_SUBMITS}</a><br>
      <br>
	  <strong>{LANG_CATS}</strong><br>
      <br>
	  <a href="index.php">{LANG_VIEWALL}</a><br>
      {LOOP: CATS}
	  <a href="{CATS.cat_url}">{CATS.cat_title}</a><br>
	  {/LOOP: CATS}
	  <br>
    <br></td>
    <td valign="top"><strong>{LANG_SIGNUP}</strong><br>
    <br>    <form name="form1" method="post" action="signup.php" style="padding:0px;margin:0px;">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="140" valign="top" style="padding-top:5px;">{LANG_USERNAME}</td>
          <td><input name="username" type="text" id="username" value="{USERNAME_FIELD}"><br>
          <span class="error">{USERNAME_ERROR}</span></td>
        </tr>
        <tr>
          <td valign="top">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td valign="top" style="padding-top:5px;">{LANG_PASSWORD}</td>
          <td><input name="password" type="password" id="password"></td>
        </tr>
        <tr>
          <td valign="top" style="padding-top:5px;">{LANG_CONPASS}</td>
          <td><input name="password2" type="password" id="password2"><br>
          <span class="error">{PASSWORD_ERROR}</span></td>
        </tr>
        <tr>
          <td valign="top">&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td valign="top" style="padding-top:5px;">{LANG_EMAILAD}</td>
          <td><input name="email" type="text" id="email" value="{EMAIL_FIELD}"><br>
          <span class="error">{EMAIL_ERROR}</span></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type="submit" name="Submit" value="{LANG_SIGNUP}"></td>
        </tr>
      </table>
    </form></td>
  </tr>
</table>
{OVERALL_FOOTER}